@charset "UTF-8";
/* input图片预览 */
.input-img{
	position: relative;
	width: 120px;
	height: 120px;
	box-sizing: border-box;
	border: 1px dashed #d6d6d6;
}

.input-img:before{
	content: '';
	position: absolute;
	top: 50%;
	left: 30%;
	margin-top: -2px;
	width: 40%;
	height: 4px;
	background: #d2d2d2;
}

.input-img:after{
	content: '';
	position: absolute;
	top: 30%;
	left: 50%;
	z-index: 0;
	margin-left: -2px;
	width: 4px;
	height: 40%;
	background: #d2d2d2;
}

.input-img-prev{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
}

.input-img input[type="file"]{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	cursor: pointer;
	opacity: 0;
	filter: alpha(opacity=0);
	margin: 0;
	padding: 0;
}

.input-img-error{
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 24px;
	line-height: 24px;
	text-align: center;
	font-size: 12px;
	color: #fff;
	background: #000;
	opacity: 0.5;
	filter: alpha(opacity=50);
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
/* input图片预览 end */